package com.leyou.item.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.leyou.item.pojo.SpecParam;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.io.Serializable;

@Mapper
public interface SpecParamMapper extends BaseMapper<SpecParam> {
    @Delete("delete from tb_spec_param where group_id = #{gid}")
    int deleteByGId(@Param("gid") Long gid);
}
